package com.example.entity;

import lombok.Data;

import java.util.List;


//题目表
@Data
public class Question {
    private static final long serialVersionUID = 1L;

//    ID
    private Integer id;

//    题目名称
    private String name;

//    题目类型
    private String type;

//    问卷ID
    private Integer pageId;

//    创建人ID
    private Integer userId;
//    创建有效回答数
    private Integer count;

    private List<QuestionItem> questionItemList;
    public List<QuestionItem> getQuestionItemList() {
        return questionItemList;
    }

    public void setQuestionItemList(List<QuestionItem> questionItemList) {
        this.questionItemList = questionItemList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
